package com.spica.platform.kafka.producer.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Setter
@Getter
@ConfigurationProperties(prefix = "spica.kafka.producer")
public class KafkaProducerProperties {

    private String bootstrapServers;

    private boolean enableIdempotence = false;

    private String transactionalId = "";

    private String acks = "-1";

    private String keySerializer = "org.apache.kafka.common.serialization.StringSerializer";

    private String valueSerializer = "org.apache.kafka.common.serialization.StringSerializer";

}